import axios from '@/utils/axios'

export function getPortfolioList(params) {
  return axios.get('portfolio/list', { params })
}

export function addPortfolio(data) {
  return axios.post('portfolio/add', data)
}

export function updatePortfolio(data) {
  return axios.post('portfolio/update', data)
}

export function deletePortfolio(id) {
  return axios.post(`portfolio/delete/${id}`)
} 